// 输入框防抖
export const debounce = function (fn, t) {
  let timer = null
  return function () {
    console.log('清除定时器timer====>', timer)
    clearTimeout(timer)
    timer = setTimeout(() => {
      fn()
    }, t)
  }
}
